home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14120 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  26 lines

  1. Newsgroups: comp.lang.c
  2. Path: netcom.com!smryan
  3. From: smryan@netcom.com (@#$%!?!)
  4. Subject: Re: How to use assert( )
  5. Message-ID: <smryanDpqBv7.E56@netcom.com>
  6. Organization: The Programmer formerly known as S M Ryan
  7. X-Newsreader: TIN [version 1.2 PL1]
  8. References: <4kc3k7$dur@orion.cybercom.net> <316be48b.3354928@news.netvision.net.il> <4kiirb$hll@sparcserver.lrz-muenchen.de>
  9. Date: Fri, 12 Apr 1996 03:18:43 GMT
  10. Sender: smryan@netcom21.netcom.com
  11.  
  12. : The end user should never see the output of an assertion in an ideal
  13. : world. One reason for this is that a final build should be translated 
  14. : with NDEBUG defined. The other (more optimistic) reason is, that all
  15. : possible problems that make an assertion fail should have been
  16. : detected during testing.
  17.  
  18. It is preferable to have the program fail mysteriously for the customer
  19. with possibly the only opportunity to diagnose it gone.
  20.  
  21. -- 
  22. The Queen, amused, in quiet power,         | smryan@netcom.com  PO Box 1563
  23. will draw the son to darkenned bower.      |          Cupertino, California
  24. Her face is fair, her fragrance rare,      | (xxx)xxx-xxxx            95015
  25. with woven webs for wayward flower.        |         I don't use no smileys
  26.